package com.sean.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.sean.dao.IEmployeeDao;

public class EmployeeFacade implements IEmployeeFacade {

	@Autowired
	private IEmployeeDao employeeDao;

	public IEmployeeDao getEmployeeDao() {
		return employeeDao;
	}

	public void setEmployeeDao(IEmployeeDao employeeDao) {
		this.employeeDao = employeeDao;
	}

	public List findEmployeeByRoles(String[] roles) {
		return employeeDao.findEmployees(roles);
	}

}
